package com.twetec.cms.model.po.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twetec.cms.model.po.base.BasePO;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhxl
 * @since 2020-10-28
 */
@TableName("SYSTEM_ROLE_USER")
public class RoleUserPO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 角色ID
     */
    @TableField("ROLE_ID")
    private Long roleId;

    /**
     * 用户ID
     */
    @TableField("USER_ID")
    private Long userId;

    /**
     * 数据域
     */
    @TableField("DATA_ORG")
    private Long dataOrg;


    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "RoleUserPO{" +
        "roleId=" + roleId +
        ", userId=" + userId +
        ", dataOrg=" + dataOrg +
        "}";
    }
}
